package com.oa.core.handler;

import com.oa.system.entity.ApplyApproval;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("审批成功结果")
@Data
public class ApprovalResult {

    @ApiModelProperty("是否是第一级审批结束")
    private boolean firstStatus;

    @ApiModelProperty("审批当前节点进行状态(1-进行中 2-审批通过)")
    private Integer status;

    @ApiModelProperty("是否是末级审批结束")
    private boolean lastStatus;

    @ApiModelProperty("审批对象")
    private ApplyApproval applyApproval;
}
